package com.kinglone.back.system.controller;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("/syParam")
public class SysParamController {
	protected final static Logger logger = LogManager.getLogger(SysParamController.class);


	@RequestMapping("/showmenu")
	public String showmenu(HttpServletRequest request){
		logger.info("跳转到系统参数列表");
		return "sysmenu/menuList";
	}
	@RequestMapping("/showMenuAdd")
	public String showMenuAdd(HttpServletRequest request){
		logger.info("跳转到添加系统参数列表");
		return "sysmenu/menuAdd";
	}

}
